﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MAPDavy.Entities;

namespace MAPDavy.BusinessLogic
{
    public interface IMatriculaBL
    {
        List<MatriculaDTO> GetFromMatriculaByCriterioAndAnioAndSeccionId(string criterio, Int32 seccionId, Int32 anio);
        Matricula GetFromMatriculaById(int id);
        void RegistrarMatricula(Matricula matricula);
        void DeleteMatricula(Int32 id);
        bool CanDelete(Int32 id);
        Int32 AddMatricula(Matricula matricula);

        List<Student> GetFromStudentByStudentId(string studentId, Int32 limit);
        List<Student> GetFromStudentByFirtsName(string firtsName, Int32 limit);
        List<Student> GetFromStudentByLastName(string lastName, Int32 limit);
    }
}
